source /etc/profile;
source ~/.bash_profile;
source ~/.bashrc;
DIR="$( cd "$( dirname "$0"  )" && pwd  )"
resFile=`basename $DIR`

nohup java -jar $DIR/$resFile.jar > $DIR/$resFile.out 2>&1 &
echo $! > $DIR/$resFile.pid
echo "tail -200f $DIR/$resFile.out"
